package com.atguigu.lease.web.app.sms;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "sms")
public class SMSProperties {


    private String accessKey;

    private String accessSecret;

    private String appCode;

    public String getAccessKey() {
        return accessKey;
    }

    public void setAccessKey(String accessKey) {
        this.accessKey = accessKey;
    }

    public String getAccessSecret() {
        return accessSecret;
    }

    public void setAccessSecret(String accessSecret) {
        this.accessSecret = accessSecret;
    }

    public String getAppCode() {
        return appCode;
    }

    public void setAppCode(String appCode) {
        this.appCode = appCode;
    }

    public SMSProperties() {
    }

    public SMSProperties(String accessKey, String accessSecret, String appCode) {
        this.accessKey = accessKey;
        this.accessSecret = accessSecret;
        this.appCode = appCode;
    }

    @Override
    public String toString() {
        return "SMSProperties{" +
                "accessKey='" + accessKey + '\'' +
                ", accessSecret='" + accessSecret + '\'' +
                ", appCode='" + appCode + '\'' +
                '}';
    }
}
